:deep(.el-card){
  --el-card-padding: 0;
}

:deep(.el-tab-pane) {
  // width: 1600px;
  // margin: 0 auto;
}

.card {
  position: relative;
  margin: -150px 20px 0 20px;  
}

.templates-container {
  display: grid;
  position: relative;
  padding: 20px;  
  grid-template-columns: repeat(auto-fill, 330px);      
  grid-gap: 30px 30px;
  .template {
    width: 100%;    
    // width: calc((100% - 120px) / 5);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    &:has(~ .template) {
      // margin-right: 30px;
    }    

    img {      
      margin-bottom: 8px;  
      border-radius: 8px;
      box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;      
      // box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.2), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12);
      width: 100%;  
      height: 470px;  
    }

    .image-background {
      top: 0px;
      width: 100%;
      height: 470px;
      display: flex;
      z-index: 1000;
      position: absolute;      
      align-items: center;      
      justify-content: center;
      background-color: rgba(0, 0, 0, 0.7);
      bottom: 0;
      border-radius: 8px;
    }
  }
}

:deep(.el-tabs__header) {
  margin: 0;
  padding: 20px 20px 0 5px;
}